home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc2_x
/
scincprs.sit
/
Command stack
/
card_3506.txt
< prev
next >
Wrap
Text File
|
1991-02-03
|
6KB
|
294 lines
-- card: 3506 from stack: in
-- bmap block id: 2896
-- flags: 4000
-- background id: 2690
-- name: searchCard
----- HyperTalk script -----
on goReferenceStack
global searchString, holder, scanString
set lockScreen to true
go to "references"
send phraseSearch
set lockScreen to false
end goReferenceStack
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=38 top=35 right=57 bottom=113
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Topic
----- HyperTalk script -----
on mouseUp
global holder
put "Topic" into holder
send goReferenceStack
end mouseUp
-- part 2 (field)
-- low flags: 00
-- high flags: 0007
-- rect: left=56 top=133 right=256 bottom=457
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: whereItIs
----- HyperTalk script -----
on openField
hide card field "intStore"
set the numberFormat to "0."
put item 2 of the clickLoc into y
subtract item 2 of the rect of card field "whereItIs" from y
add the scroll of card field "whereItIs" to y
divide y by the textHeight
put y into card field "intStore"
put card field "intStore" into x
select line x of card field "whereItIs"
end openField
-- part 3 (field)
-- low flags: 00
-- high flags: 0001
-- rect: left=291 top=262 right=282 bottom=357
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: lastField
-- part 5 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=119 top=35 right=57 bottom=193
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Title
----- HyperTalk script -----
on mouseUp
global holder
put "Title" into holder
send goReferenceStack
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=37 top=63 right=85 bottom=114
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Author
----- HyperTalk script -----
on mouseUp
global holder
put "Author" into holder
send goReferenceStack
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=198 top=35 right=57 bottom=274
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Reference
----- HyperTalk script -----
on mouseUp
global holder
put "Ref" into holder
send goReferenceStack
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=198 top=63 right=85 bottom=273
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Notes
----- HyperTalk script -----
on mouseUp
global holder
put "Notes" into holder
send goReferenceStack
end mouseUp
-- part 12 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=337 top=276 right=307 bottom=373
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: intStore
-- part 27 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=329 top=49 right=68 bottom=397
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Item
----- HyperTalk script -----
on mouseUp
global scanString, stringPosition, recordCount
--scanString is string of card numbers
--stringPosition is a position in scanString containing a card number.
put card field "IntStore" into stringPosition
subtract 1 from stringPosition
set lockScreen to True
go to "references"
send scanforward
end mouseUp
-- part 28 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=404 top=49 right=68 bottom=472
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: List
----- HyperTalk script -----
on mouseUp
global scanString, stringPosition, recordCount
--scanString is string of card numbers
--stringPosition is a position in scanString containing a card number.
put card field "IntStore" into stringPosition
subtract 1 from stringPosition
set lockScreen to True
go to "references"
send scanforward
end mouseUp
-- part 29 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=119 top=63 right=85 bottom=193
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Affiliation
----- HyperTalk script -----
on mouseUp
global holder
put "Affil" into holder
send goReferenceStack
end mouseUp
-- part 30 (field)
-- low flags: 00
-- high flags: 0001
-- rect: left=168 top=116 right=132 bottom=344
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: searchName
-- part 31 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=110 top=283 right=302 bottom=361
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: scnField
-- part contents for background part 3
----- text -----
2
-- part contents for card part 12
----- text -----
6
-- part contents for card part 31
----- text -----
3,4,5,22,32,43,91,92,/
-- part contents for card part 2
----- text -----